/**
 * Created by gavin on 19/1/11.
 */
import axios from "../../utils/axios";


// 关于我们
export function aboutUs(query) {
    return axios({
        url: "text/aboutUs",
        method: "get",
        params: query
    });
}

// 平台保障
export function platformsupport(query) {
    return axios({
        url: "text/platformSupport",
        method: "get",
        params: query
    });
}


// 修改 关于我们 提现说明 用户协议
export function edit(data) {
    return axios({
        url: "text/edit",
        method: "post",
        data: data
    });
}

// 修改 联系客服
export function editCustomer(data) {
    return axios({
        url: "/customer/editDetail",
        method: "put",
        data: data
    });
}

// 介绍页
export function introduce(query) {
    return axios({
        url: "/text/introduce",
        method: "get",
        params: query
    });
}



// 用户协议
export function userAgreement(query) {
    return axios({
        url: "systemSetup/sysText/userAgreement",
        method: "get",
        params: query
    });
}

// 联系客服
export function contactCustomer(query) {
    return axios({
        url: "/customer/getDetail",
        method: "get",
        params: query
    });
}


// 帮助管理列表
export function getList(query) {
    return axios({
        url: "systemSetup/syshelp/getList",
        method: "get",
        params: query
    });
}

// 删除
export function delHelp(data) {
    return axios({
        url: "systemSetup/syshelp/delete",
        method: "post",
        data: data
    });
}

// 添加&编辑
export function saveHelp(data) {
    return axios({
        url:"systemSetup/syshelp/save" ,
        method: "post",
        data: data
    });
}

// 查看详情
export function lookHelp(data) {
    return axios({
        url:"systemSetup/syshelp/look" ,
        method: "post",
        data: data
    });
}

